import 'package:flutter/material.dart';
import 'package:flutterroom/pages/home/info/home_room_list.dart';
import 'package:flutterroom/widgets/search_index/search_bar.dart';


class InfoTabpage extends StatefulWidget {
  @override
  _InfoTabpageState createState() => _InfoTabpageState();
}

class _InfoTabpageState extends State<InfoTabpage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(brightness: Brightness.light,title:  SearcgBar(
        onSearch: (){
          Navigator.of(context).pushNamed("search");
        },
      ),backgroundColor: Colors.white,),
      body: ListView(children: <Widget>[
        Info(),
        Info(),
        Info(),
      ],),
    );
  }
}